fix off-by-one mistakes in vm_alloc()
authorJan Beulich <jbeulich@suse.com>
Mon, 5 Aug 2013 16:40:23 +0000 (18:40 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 5 Aug 2013 16:40:23 +0000 (18:40 +0200)
commitb0e55bd49725c7c0183eb18670997b9e5930adac
treebeb168809b8034c667c898ed40bcad29ad3ea8f6
parentdb3320281dd99dfad21052f11e4de74059d033fb
fix off-by-one mistakes in vm_alloc()

Also add another pair of assertions to catch eventual further cases of
incorrect accounting, and remove the temporary debuggin messages again
which commit 68caac7f ("x86: don't use destroy_xen_mappings() for
vunmap()") added.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/vmap.c